/*
 * @Date: 2022-03-24 18:09:12
 * @LastEditors: sailornpg
 * @LastEditTime: 2022-03-26 12:50:04
 * @FilePath: \vue3Components\vite.config.ts
 * @Description: something
 */
import { defineConfig } from "vite";
import vue from "@vitejs/plugin-vue";
import { resolve } from "path";
import vueJsx from "@vitejs/plugin-vue-jsx";
// https://vitejs.dev/config/
export default defineConfig({
  plugins: [vue(), vueJsx()],
  resolve: {
    alias: {
      "@": resolve(__dirname, "src"), // 设置 `@` 指向 `src` 目录
    },
  },
});
